<%= decidim_modal id: "meeting-#{registration_action}-confirm-#{model.id}", class: "meeting__registration-modal" do %>
  <%= decidim_form_for(registration_form, url: registration_path, method: :post) do |form| %>
    <div data-dialog-container>
      <%= icon "login-circle-line" %>
      <h2 id="dialog-title-meeting-registration-confirm-<%= model.id %>" data-dialog-title><%= t(registration_translation_key, scope: "decidim.meetings.meetings.show") %></h2>
      <div>

        <div class="form__wrapper">
          <%= cell("decidim/public_participation", form) %>
          <div class="meeting__registration-modal__terms"><%= registration_terms_text %></div>
        </div>
      </div>
    </div>
    <div data-dialog-actions>
      <button type="button" class="button button__sm md:button__lg button__transparent-secondary" data-dialog-close="meeting-<%= registration_action %>-confirm-<%= model.id %>">
        <span><%= i18n_cancel_text %></span>
      </button>
      <button type="submit" class="button button__sm md:button__lg button__secondary">
        <span><%= i18n_confirm_text %></span>
        <%= icon "arrow-right-line" %>
      </button>
    </div>
  <% end %>
<% end %>
